package com.cn.mapper.dao.db1.bc;


import com.cn.bean.pojo.bc.User;

import com.cn.bean.vo.bc.UserRolePermission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface LoginDao {
    List<User> loginIndex(@Param("userName") String userName,
                          @Param("password") String password);
    List<UserRolePermission> getPermission(@Param("userName")String userName);

    List<User> getUser();
    int addYwy( @Param("username") String username,@Param("password") String password,@Param("status") int status,@Param("name") String name,@Param("departmentId") int departmentId,@Param("sszz") String sszz,@Param("bmmc") String bmmc);

    int addYwy(String username, int i, int i1, String name, int fEmplID);
}
